package com.qf.controller;


import com.qf.dto.UserDTO;
import com.qf.utils.R;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class UserController {

    @RequestMapping(value = "sys/login",method = RequestMethod.POST)
    public R login(@RequestBody UserDTO userDTO){
        System.out.println(userDTO.getUsername());
        return R.ok();
    }
}
